home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8109 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: taco.cc.ncsu.edu!not-for-mail
  2. From: zaykin@espcbw.stat.ncsu.edu (Dmitri Zaykin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Linker Problems in BC++ 4.0
  5. Date: 14 Feb 1996 20:05:21 GMT
  6. Organization: Statistical Eugenics
  7. Message-ID: <4ftfa1$cqv@taco.cc.ncsu.edu>
  8. References: <4ft8mo$4eb@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: espcbw.stat.ncsu.edu
  10. To: hippturtle@aol.com
  11. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  12.  
  13. Hippturtle (hippturtle@aol.com) wrote:
  14. > [...] using cout).  My C++ programs work fine in the 3.1 version.  The 
  15. > linker error I got read something like:
  16. >    Undefined module in OwlMain(int, far *.....) in the owlri.lib in the
  17. > module WINMAIN.
  18.  
  19. Owl and Windows applications do not allow for the standard output (as 
  20. with cout), and they do not have "int main(int, char**)" either. You need
  21. to change the target type to EasyWin or DOS application.
  22.  
  23. To do it, highlight .exe node in the project window and bring up a menu with 
  24. the right mouse button (or Alt-F10), then choose TargetExpert item on it.
  25.  
  26. Dmitri
  27.